<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:mvc="http://www.springframework.org/schema/mvc"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-4.1.xsd
        http://www.springframework.org/schema/mvc
        http://www.springframework.org/schema/mvc/spring-mvc-4.1.xsd">

    <import resource="spring-mybatis.xml"></import>

    <context:component-scan base-package="${domain}.*.mgr">
        <context:include-filter type="regex" expression=".*Impl"/>
    </context:component-scan>

    <!-- 系统 -->
    <bean id="sysToken" class="${domain}.framework.base.Token">
        <property name="id" value="0"></property>
        <property name="userId" value="0"></property>
        <property name="userName" value="SYSTEM"></property>
    </bean>
</beans>